package com.ljx.blog.article.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ljx.blog.article.domain.entity.Article;
import com.ljx.blog.article.domain.vo.req.ArticlePageReq;
import com.ljx.blog.article.domain.vo.resp.ArticleResp;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ArticleMapper extends BaseMapper<Article> {
    List<Article> getPage(@Param("req") ArticlePageReq req, @Param("currPage") Long currPage, @Param("tenantId") Long tenantId);
}
